<%@ page language="java" pageEncoding="utf-8"%>
<%@ taglib prefix="s" uri="/struts-tags" %>
<%@ taglib uri="http://java.fckeditor.net" prefix="fck" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>修改公司介绍</title>
<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">    
<link href="${pageContext.request.contextPath}/js/validate/jquery.validate.css" type="text/css" rel="stylesheet" />
<script src="${pageContext.request.contextPath}/js/jquery.js" type="text/javascript"></script>
<script src="${pageContext.request.contextPath}/js/validate/jquery.validate.js" type="text/javascript"></script>
<script src="${pageContext.request.contextPath}/js/validate/messages_cn.js" type="text/javascript"></script>
<script language="javascript" type="text/javascript" src="${pageContext.request.contextPath}/common/My97DatePicker/WdatePicker.js"></script>
<script type="text/javascript">
$(document).ready(function(){
	//聚焦第一个输入框
	$("#name").focus();
	//为inputForm注册validate函数
	$("#inputForm").validate({
		rules: { 
        		name: "required"
		}
	});
});

function FCKeditor_OnComplete(editorInstance) {
	window.status = editorInstance.Description;
}
</script>
</head>
<body>
<s:form action="../company-view!saveOrUpdate.do" theme="simple">
 <table width="100%" border="0" cellspacing="1" cellpadding="0" bgcolor="#E1E1E1">
	<tr bgcolor="#ffffff" valign="top">		
	    <td> 
	    	<table width="100%">
	    		<tr>
	    			<td align="center" colspan="2">
	    				修改公司介绍			
	    			</td>	    			
	    		</tr>
	    		<tr>
	    			<td width="6%" align="right">
	    				名 称：			
	    			</td>
	    			<td>
						<s:textfield name="name"/>
	    			</td>
	    		</tr>
	    		<tr valign="top" height="80%">
	    			<td width="6%" align="right" nowrap="nowrap">
	    				详细信息：			
	    			</td>
	    			<td>	    				
	    				<fck:editor instanceName="content" height="500px" basePath="/common/fckeditor">
							<jsp:attribute name="value">
								<s:property value="content" escape="false"/>
							</jsp:attribute>
						</fck:editor>
					</td>
	    		</tr>
	    		<tr>
	    			<td align="right">
	    				<s:submit value="提 交"/>		
	    			</td>
	    			<td>
	    				&nbsp;		
	    			</td>
	    		</tr>
	    	</table>
	    </td>
	 </tr>
</table>
<s:hidden name="id"/>
<s:hidden name="keyWord"/>
</s:form>
</body>
</html>
